<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>HippoViewportTest</title>

	<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.7.0/build/logger/assets/logger.css"> 
	<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.7.0/build/yuitest/assets/testlogger.css"> 
	<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/yahoo-dom-event/yahoo-dom-event.js"></script> 
	<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/logger/logger-debug.js"></script> 
	<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/yuitest/yuitest-debug.js"></script>
	
	<!-- Include Ext and app-specific scripts: -->
    <script type="text/javascript" src="../ext/adapter/ext/ext-base.js"></script>
    <script type="text/javascript" src="../ext/ext-all-debug.js"></script>
    <script type="text/javascript" src="dialog/NewExperimentDlg.js"></script>
    <script type="text/javascript" src="form/NewExperimentForm.js"></script>
    <script type="text/javascript" src="grids/FieldDefinitionFactory.js"></script>
    <script type="text/javascript" src="grids/ExperimentGrid.js"></script>
    <script type="text/javascript" src="panel/ExperimentSettingsPanel.js"></script>
    <script type="text/javascript" src="panel/ExperimentTabPanel.js"></script>
    <script type="text/javascript" src="panel/ExperimentToolPanel.js"></script>
	<script type="text/javascript" src="HippoViewport.js"></script>
    
    <!-- Include Ext stylesheets here: -->
    <link rel="stylesheet" type="text/css" href="../ext/resources/css/ext-all.css">
    <link rel="stylesheet" type="text/css" href="../css/hippo.css">
    
</head>
<body>
	<script>
		Ext.onReady(function() {
	  		Ext.BLANK_IMAGE_URL = '<c:url value="/ext/resources/images/default/s.gif" />';
	  		Ext.QuickTips.init();
	
	  		view = new Hippo.HippoViewport();
		});
	
		var assert = YAHOO.util.Assert;
	
		var testCase = new YAHOO.tool.TestCase({
			name: 'ExperimentGridTest',
			
			testNothing: function() {
				assert.isTrue(true);
			},
	
			//testAdditionOfNewExperiment: function() {
			//	var record = {uid: 5, title: "a test title" ,purpose: "a test purpose"};
		    //    view.addNewExperiment(record);
		    //    var element = Ext.get('experimentGrid');
		    //    assert.isTrue(/a test title/.exec(element.dom.innerHTML));
		    //}
	
		});
	
		YAHOO.tool.TestRunner.add(testCase);
		YAHOO.util.Event.onDOMReady(function() {
			var logger = new YAHOO.tool.TestLogger("testLogger");
			YAHOO.tool.TestRunner.run();
		});

	</script>
</body>
</html>